package ooday04;

public class AnonInnerDemo {

    public static void main(String[] args) {
        Aoo a=new Aoo(){String util="gun";};
//        System.out.println(a.util);
        Boo o2=new Boo() {

            @Override
            void show() {
                System.out.println("showwwwwww");
            }
        };
        o2.show();
        Boo o3=new Boo() {
            @Override
            void show() {
                System.out.println("testttttt");
            }
        };
        o3.show();
    }
}
class Aoo{ }
abstract class Boo{abstract void show();}
